package com.iot.ic.model;

import javax.validation.constraints.Null;
import java.util.Date;

public class Device {
    private Integer deviceId; //主键

    private String deviceName; //设备名称

    private Date createTime; //创建时间

    @Null(message = "参数不合法")
    private Integer teamId; //车队主键
    
    private Integer teamState; //车队状态
    
    private String teamName; //车队名称
	
	private Integer deviceState; //设备状态

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

	public Integer getTeamState() {
		return teamState;
	}

	public void setTeamState(Integer teamState) {
		this.teamState = teamState;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	
	public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    
    
}